@model FabrikamFiber.DAL.Models.Customer

@* This partial view defines form fields that will appear when creating and editing entities *@

<div class="editor-label">
    @Html.LabelFor(model => model.FirstName)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.FirstName)
    @Html.ValidationMessageFor(model => model.FirstName)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.LastName)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.LastName)
    @Html.ValidationMessageFor(model => model.LastName)
</div>


<div class="editor-label">
    @Html.LabelFor(model => model.Address.Street)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Address.Street)
    @Html.ValidationMessageFor(model => model.Address.Street)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Address.City)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Address.City)
    @Html.ValidationMessageFor(model => model.Address.City)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Address.State)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Address.State)
    @Html.ValidationMessageFor(model => model.Address.State)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Address.Zip)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Address.Zip)
    @Html.ValidationMessageFor(model => model.Address.Zip)
</div>